package com.entity;

import java.util.List;

/**
 * 用于所有函数返回值
 */
public class Message {

    /**
     * good List类型返回值
     */
    private List<Good> goods;

    /**
     * 布尔类型返回值
     */
    private Boolean flag;

    /**
     * good 数组类型返回值
     */
    private Good[] goodStr;

    /**
     * good二维字符串类型返回值
     */
    private String[][] strings;

    /**
     * 返回的字符信息
     */
    private String message;

    public String[][] getStrings() {
        return strings;
    }

    public void setStrings(String[][] strings) {
        this.strings = strings;
    }

    public List<Good> getGoods() {
        return goods;
    }

    public void setGoods(List<Good> goods) {
        this.goods = goods;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public Good[] getGoodStr() {
        return goodStr;
    }

    public void setGoodStr(Good[] goodStr) {
        this.goodStr = goodStr;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
